<script setup lang="ts">
import { ElInputNumber } from 'element-plus';

const props = defineProps(['value']);

const emit = defineEmits(['change']);

const handleChange = (cb: any) => {
  emit('change', cb);
};
</script>

<template>
  <ElInputNumber
    :model-value="props.value"
    @change="handleChange"
  ></ElInputNumber>
</template>

<style lang="scss" scoped></style>
